<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
    <channel>
        <title>Global Internet Business Solutions ~ GIBS</title> 
        <link>https://gibs.com</link> 
        <description>RSS feeds for Global Internet Business Solutions ~ GIBS</description> 
        <ttl>60</ttl> <item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/339/DNN_NavigationManager#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=339</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=339&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DNN NavigationManager</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/339/DNN_NavigationManager</link> 
    <description>&nbsp; &nbsp; using DotNetNuke.Abstractions;
&nbsp; &nbsp; using DotNetNuke.Entities.Modules;
&nbsp; &nbsp; using Microsoft.Extensions.DependencyInjection;

&nbsp; &nbsp; public partial class MyModule : PortalModuleBase
&nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; private INavigationManager _navigationManager;

&nbsp; &nbsp; &nbsp; &nbsp; protected override void OnInit(EventArgs e)
&nbsp; &nbsp; &nbsp; &nbsp; {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; base.OnInit(e);
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _navigationManager = DependencyProvider.GetRequiredService&lt;INavigationManager&gt;();
&nbsp; &nbsp; &nbsp; &nbsp; }

&nbsp; &nbsp; &nbsp; &nbsp; // ... rest of your code
&nbsp; &nbsp; }

&nbsp;


 Navigating to a module control within the current tab:


&nbsp; &nbsp; &nbsp; &nbsp; string viewUrl = _navigationManager.NavigateURL(PortalSettings.ActiveTab.TabID, &quot;View&quot;); // &quot;View&quot; is the ControlKey
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(viewUrl, true);


 Navigating to a shared control (e.g., Login, Register):


&nbsp; &nbsp; &nbsp; &nbsp; string loginUrl = _navigationManager.NavigateURL(PortalSettings.ActiveTab.TabID, &quot;Login&quot;);
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(loginUrl, true);


 passing additional parameters.


You can pass extra parameters as a&nbsp;params string[]&nbsp;array or a&nbsp;NameValueCollection.

&nbsp; &nbsp; &nbsp; &nbsp; string registerUrl = _navigationManager.NavigateURL(PortalSettings.ActiveTab.TabID, &quot;Register&quot;, &quot;param1=value1&quot;, &quot;param2=value2&quot;);
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(registerUrl, true);


 Navigating to a specific tab/page.


&nbsp; &nbsp; &nbsp; &nbsp; int targetTabId = 123; // Replace with the actual Tab ID
&nbsp; &nbsp; &nbsp; &nbsp; string pageUrl = _navigationManager.NavigateURL(targetTabId);
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect(pageUrl, true);
</description> 
    <dc:creator>Webmaster</dc:creator> 
    <pubDate>Sun, 07 Dec 2025 16:02:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:339</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/335/Tide_Charts_Module_for_DotNetNuke#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=335</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=335&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Tide Charts Module for DotNetNuke</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/335/Tide_Charts_Module_for_DotNetNuke</link> 
    <description>Accurate, Interactive Tide Predictions for Your Website
</description> 
    <dc:creator>Webmaster</dc:creator> 
    <pubDate>Sat, 31 May 2025 10:55:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:335</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/334/Dynamic_Weather_Module_for_Your_DNN_Website#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=334</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=334&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Dynamic Weather Module for Your DNN Website</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/334/Dynamic_Weather_Module_for_Your_DNN_Website</link> 
    <description>Enhance your website with our powerful and user-friendly Weather Module, designed to provide comprehensive and up-to-date weather information directly from OpenWeatherMap. Perfect for local businesses, community portals, or personal blogs, this module offers a rich, interactive weather experience for your visitors.

Key Features &amp;amp; Benefits:


 
 Effortless Location Configuration:

 
  
  Easily set the target location by entering a City, State, and Country Code.
  
  
  Automated Latitude/Longitude Lookup: No need to manually find coordinates! Our integrated lookup feature automatically retrieves the precise latitude and longitude based on your entered location.
  
  
  Smart Location Selection: If multiple locations match your search (e.g., &amp;quot;Springfield&amp;quot;), a convenient dropdown allows you to select the exact one you need, ensuring accurate data.
  
 
 
 
 Rich Weather Data Display:

 
  
  Current Conditions at a Glance: Visitors get instant access to real-time temperature, &amp;quot;feels like&amp;quot; temperature, humidity, atmospheric pressure, cloud cover, UV index, and sunrise/sunset times.
  
  
  Detailed Wind Information: Displays wind speed in MPH, converts wind direction from degrees to clear compass points (e.g., &amp;quot;NW&amp;quot;, &amp;quot;SE&amp;quot;), and includes wind gust data for a complete picture.
  
  
  Comprehensive Visibility: Shows visibility in both meters and automatically converted miles, catering to all user preferences.
  
  
  Precipitation Clarity: Provides precipitation probability and displays rainfall amounts in both millimeters (mm) and automatically converted inches (in).
  
 
 
 
 Interactive Forecasts:

 
  
  Hourly Temperature Chart: A visually engaging chart presents hourly temperature trends, allowing users to quickly see temperature fluctuations throughout the day.
  
  
  Daily Forecast Summary: Offers a multi-day outlook with high/low temperatures, day/night temperatures, &amp;quot;feels like&amp;quot; temperatures for different times of day, and a concise summary for each day.
  
 
 
 
 Timely Weather Alerts:

 
  
  Keeps your audience informed with real-time weather alerts, displaying the event type, sender, effective period, and detailed description, ensuring they are aware of any significant weather events.
  
 
 
 
 Seamless Integration &amp;amp; Management:

 
  
  DNN Module Integration: Designed as a native DotNetNuke module for easy installation and management within your DNN portal.
  
  
  Intuitive Settings Panel: A dedicated settings page allows administrators to configure the OpenWeatherMap API key and location details with ease.
  
  
  Localized Experience: Supports localized strings for all labels and messages, providing a tailored experience for your global audience.
  
 
 


Give your website visitors the power of precise, up-to-date weather information with our feature-rich Weather Module!

Sample The Module Here
</description> 
    <dc:creator>Webmaster</dc:creator> 
    <pubDate>Sat, 24 May 2025 13:46:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:334</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/327/Create_a_Google_QR_Code_for_customer_reviews#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=327</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=327&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Create a Google QR Code for customer reviews</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/327/Create_a_Google_QR_Code_for_customer_reviews</link> 
    <description>Steps on how to create a Google QR Code for customer reviews.&amp;nbsp;


 Step 1: Go to the&amp;nbsp;Google Place Finder Tool&amp;nbsp;and look up your business in the search box. You can&amp;nbsp;do that here.
 Step 2: Copy your businesses &amp;ldquo;Place ID&amp;rdquo; from the maps tooltip.
 Step 3: Modify the following&amp;nbsp;Reviews URL&amp;nbsp;and past in your &amp;ldquo;Place ID&amp;rdquo;: https://search.google.com/local/writereview?placeid=PUT ID HERE
 Step 4: Select a QR code generator you like. A free QR code generator you can use is here (QR Code Maker).
 Step 5: Copy and paste your new Reviews URL&amp;nbsp;into your QR code website and download your QR code.
 Step 6: Print and use your QR code to start getting reviews!


Hope this helps!
</description> 
    <dc:creator>Webmaster</dc:creator> 
    <pubDate>Thu, 09 Jan 2025 17:12:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:327</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/326/Estimated_demand_for_QR_Code_use_in_2025_and_the_future#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=326</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=326&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Estimated demand for QR Code use in 2025 and the future</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/326/Estimated_demand_for_QR_Code_use_in_2025_and_the_future</link> 
    <description>It&amp;#39;s estimated that by 2025, over 100 million smartphone users in the US will be scanning QR codes. This indicates a strong and growing demand for QR code use.

This growth is driven by several factors:


 Increased smartphone adoption: As more people own smartphones, the potential user base for QR codes expands.
 Integration with mobile payments: QR codes are increasingly used for mobile payments, particularly in developing regions, driving their adoption. Juniper Research predicts that global spending using QR code payments will reach over $3 trillion by 2025.
 Versatility and convenience: QR codes offer a convenient way to access information, make payments, check in for events, and more. This versatility contributes to their widespread use across various industries.
 Omnichannel experiences: Businesses are increasingly using QR codes to connect online and offline experiences, creating seamless omnichannel journeys for customers.


Overall, the demand for QR code use is expected to remain strong in 2025 and beyond, driven by technological advancements, increasing smartphone penetration, and the growing need for convenient and versatile solutions in various sectors.

Sample our QR Code Maker DNN app.
</description> 
    <dc:creator>Webmaster</dc:creator> 
    <pubDate>Tue, 07 Jan 2025 16:37:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:326</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/325/Get_DNN_User_CustomProperty_Profile_Data#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=325</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=325&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Get DNN User CustomProperty Profile Data</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/325/Get_DNN_User_CustomProperty_Profile_Data</link> 
    <description>&amp;nbsp;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private string GetUserProfileString(string CustomProperty, int UserID)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UserInfo oUserInfo = UserController.GetUserById(PortalSettings.PortalId, UserID);
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string sCustomProperty = oUserInfo.Profile.GetPropertyValue(CustomProperty);
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return sCustomProperty;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
</description> 
    <dc:creator>Webmaster</dc:creator> 
    <pubDate>Mon, 06 Jan 2025 15:51:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:325</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/319/Ventrian_Property_Agent_-_Initialized_Template_Disappears#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=319</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=319&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Ventrian Property Agent - Initialized Template Disappears</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/319/Ventrian_Property_Agent_-_Initialized_Template_Disappears</link> 
    <description>Has anyone ever run across a property agent page where the initialized template disappears? You get to the property agent page and message indicates Template needs to be re-initialized.

Solution:

SELECT TOP (200) ModuleID, SettingName, SettingValue, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate
FROM ModuleSettings
WHERE&amp;nbsp;SettingName = &amp;#39;PropertyAgentTemplate&amp;#39; and (ModuleID = ****)

In place of the asterisks, put the ID of the PA module affected by the problem.
Here you will see that the has disappeared SettingName&amp;nbsp;PropertyAgentTemplate
It will be enough to add it and put as SettingValue the name of the template folder of PA inside the site folder.

Fix:

UPDATE &amp;nbsp; &amp;nbsp; &amp;nbsp; dbo.ModuleSettings
SET &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SettingValue = &amp;#39;FolderName&amp;#39;&amp;nbsp;
WHERE SettingName = &amp;#39;PropertyAgentTemplate&amp;#39; and &amp;nbsp;(ModuleID = ****)

&amp;nbsp;
</description> 
    <dc:creator>Webmaster</dc:creator> 
    <pubDate>Tue, 17 Sep 2024 17:00:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:319</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/3/Gridview_RowDataBound_Access_Data_Values#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=3</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=3&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Gridview RowDataBound Access Data Values</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/3/Gridview_RowDataBound_Access_Data_Values</link> 
    <description>protected void GridViewOrders_RowDataBound(object sender, GridViewRowEventArgs e)
{
&amp;nbsp; &amp;nbsp; if (e.Row.RowType == DataControlRowType.DataRow)
&amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LinkButton sndTextButton = (LinkButton)e.Row.FindControl(&amp;quot;LinkButtonSendText&amp;quot;);
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int orderStatusCode = Convert.ToInt32(DataBinder.Eval(e.Row.DataItem, &amp;quot;OrderStatusCode&amp;quot;));
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var cellphone = DataBinder.Eval(e.Row.DataItem, &amp;quot;ClientCellPhone&amp;quot;);


&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (orderStatusCode == 3 &amp;amp;&amp;amp; cellphone.ToString().Length &amp;gt; 10)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sndTextButton.Visible = true;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; }
}
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Fri, 24 May 2024 12:57:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:3</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/5/Add_Javascript_to_a_DNN_Page_header_in_a_Custom_Module#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=5</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=5&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Add Javascript to a DNN Page header in a Custom Module</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/5/Add_Javascript_to_a_DNN_Page_header_in_a_Custom_Module</link> 
    <description>How to Add Javascript to a DNN Page header section in a Custom Module

protected override void OnInit(EventArgs e)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; base.OnInit(e);

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceManager.RegisterScript(this.Page, &amp;quot;https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit&amp;quot;, FileOrder.Js.DefaultPriority, &amp;quot;DnnPageHeaderProvider&amp;quot;);
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Thu, 18 Apr 2024 09:55:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:5</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/18/Create_DNN_List_Using_ListController#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=18</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=18&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Create DNN List Using ListController()</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/18/Create_DNN_List_Using_ListController</link> 
    <description>
public void CreateList()
{

	try
	{
		//create a placeholder entry - 
		const string listName = &amp;quot;InventoryReportingType&amp;quot;;
		var listController = new ListController();
		var entry = new ListEntryInfo();
		{
			entry.DefinitionID = -1;
			entry.ParentID = 0;
			entry.Level = 0;
			entry.PortalID = this.PortalId;
			entry.ListName = listName;
			entry.Value = &amp;quot;USDA&amp;quot;;
			entry.Text = &amp;quot;USDA&amp;quot;;
			entry.SystemList = false;
                        entry.SortOrder = 1;
		}

		listController.AddListEntry(entry);


	}
	catch (Exception ex)
	{
		Exceptions.ProcessModuleLoadException(this, ex);
	}

}

</description> 
    <dc:creator></dc:creator> 
    <pubDate>Mon, 27 Jan 2020 13:52:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:18</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/20/DNN_SendMail_Attachments#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=20</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=20&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DNN SendMail Attachments</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/20/DNN_SendMail_Attachments</link> 
    <description>&amp;nbsp;C# declare empty string array for Attachments

string[] arr = new string[] {};string[] arr = new string[] {};string[] attachments = new string[] {};
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Sat, 25 Jan 2020 14:11:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:20</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/21/DNN_Get_User_DisplayName#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=21</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=21&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DNN Get User DisplayName</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/21/DNN_Get_User_DisplayName</link> 
    <description>private string GetDisplayName(int PortalId, int UserId)
{
&amp;nbsp;&amp;nbsp; &amp;nbsp;string UserDisplayName = &amp;quot;&amp;quot;;
&amp;nbsp;&amp;nbsp; &amp;nbsp;DotNetNuke.Entities.Users.UserInfo userInfo = DotNetNuke.Entities.Users.UserController.GetUserById(PortalId, UserId);
&amp;nbsp;&amp;nbsp; &amp;nbsp;if (userInfo != null)
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;UserDisplayName = userInfo.DisplayName;
&amp;nbsp;&amp;nbsp; &amp;nbsp;return UserDisplayName;
}
&amp;nbsp;
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Thu, 23 Jan 2020 12:59:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:21</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/129/DNN_States_Dropdown_List#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=129</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=129&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DNN States Dropdown List</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/129/DNN_States_Dropdown_List</link> 
    <description>Get a list of states using the DNN Lists

public void GetDropDownListStates()

{

&amp;nbsp;try
&amp;nbsp;{
&amp;nbsp;&amp;nbsp;// Get State Dropdown from DNN Lists

var regions = new ListController().GetListEntryInfoItems(&amp;quot;Region&amp;quot;, &amp;quot;Country.US&amp;quot;, this.PortalId);

ddlStatesRecipient.DataTextField = &amp;quot;Value&amp;quot;;
ddlStatesRecipient.DataValueField = &amp;quot;Value&amp;quot;;
ddlStatesRecipient.DataSource = regions;
ddlStatesRecipient.DataBind();
ddlStatesRecipient.Items.Insert(0, new ListItem(&amp;quot;-Select-&amp;quot;, &amp;quot;-1&amp;quot;));
ddlStatesRecipient.SelectedValue = &amp;quot;MA&amp;quot;;

&amp;nbsp;

&amp;nbsp;}

&amp;nbsp;catch (Exception ex)
&amp;nbsp;{
&amp;nbsp;&amp;nbsp;Exceptions.ProcessModuleLoadException(this, ex);
&amp;nbsp;}
&amp;nbsp;&amp;nbsp;
}
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Thu, 02 Jan 2020 12:31:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:129</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/37/DisplayName_Lookup_by_UserID#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=37</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=37&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DisplayName Lookup by UserID</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/37/DisplayName_Lookup_by_UserID</link> 
    <description>
public string CreatedByUserName
{
	get
	{
		if (createdByUserName == null)
		{
			int portalId = PortalController.Instance.GetCurrentPortalSettings().PortalId;
			UserController controller = new UserController();
			UserInfo user = controller.GetUser(portalId, createdByUserID);
			if(user != null)
			{
				createdByUserName = user.DisplayName;
			}
			else
			{
				createdByUserName = &amp;quot;Deleted User&amp;quot;;
			}
			
		}
		return createdByUserName;
	}
}

</description> 
    <dc:creator></dc:creator> 
    <pubDate>Thu, 26 Dec 2019 19:03:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:37</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/61/Check_If_Profile_Property_Exists#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=61</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=61&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Check If Profile Property Exists</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/61/Check_If_Profile_Property_Exists</link> 
    <description>Check if a DNN TrueFalse (bool) profile property exists and if it doesn&amp;#39;t create a new one

USE:

CheckProfilePropertyExistsTrueFalse(&amp;quot;DoNotMail&amp;quot;).ToString();

&amp;nbsp;


public string CheckProfilePropertyExistsTrueFalse(string propertyName)
{
	string value = null;

	ProfilePropertyDefinition ppd = ProfileController.GetPropertyDefinitionByName(this.PortalId, propertyName.ToString());
 //  ProfileController.AddPropertyDefinition()
	if (ppd == null)
	{
		// IT DOESN&amp;#39;T EXIST - -  CREATE IT

		DotNetNuke.Common.Lists.ListController objListCtrl = new DotNetNuke.Common.Lists.ListController();

		DotNetNuke.Entities.Profile.ProfilePropertyDefinition objDef = new DotNetNuke.Entities.Profile.ProfilePropertyDefinition();
		DotNetNuke.Entities.Profile.ProfileController objProfileController = new DotNetNuke.Entities.Profile.ProfileController();

		objDef.DataType = objListCtrl.GetListEntryInfo(&amp;quot;DataType&amp;quot;, &amp;quot;TrueFalse&amp;quot;).EntryID;
		objDef.Length = 50;
		objDef.PortalId = this.PortalId;
		objDef.PropertyName = propertyName.ToString(); // This is your property Name
		objDef.Required = false;
		objDef.DefaultValue = &amp;quot;false&amp;quot;;
		objDef.ViewOrder = -1;
		objDef.DefaultVisibility = DotNetNuke.Entities.Users.UserVisibilityMode.AdminOnly;
		objDef.Visible = true;
		objDef.PropertyCategory = &amp;quot;Donor&amp;quot;;
		objDef.ReadOnly = false;
		
		DotNetNuke.Entities.Profile.ProfileController.AddPropertyDefinition(objDef);

		value = &amp;quot;Profile Property Created for &amp;quot; + propertyName.ToString() + &amp;quot;!&amp;quot;;
	}
	else
	{
		value = &amp;quot;Profile Property Exists!&amp;quot;;

	}
	return value;
}

</description> 
    <dc:creator></dc:creator> 
    <pubDate>Tue, 24 Dec 2019 12:30:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:61</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/29/Updating_DnnCssInclude#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=29</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=29&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Updating DnnCssInclude</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/29/Updating_DnnCssInclude</link> 
    <description>In the designer.cs file

OLD . . .&amp;nbsp;

// protected global::DotNetNuke.UI.WebControls.DnnCssInclude DnnCssInclude1;

NEW . . .&amp;nbsp;

protected global::DotNetNuke.Web.Client.ClientResourceManagement.DnnCssInclude DnnCssInclude1;

&amp;nbsp;

&amp;nbsp;

&amp;nbsp;
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Thu, 11 Jul 2019 19:50:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:29</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/36/Get_ModuleSettings_and_TabModuleSettings_from_Another_Module#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=36</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=36&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Get ModuleSettings and TabModuleSettings from Another Module</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/36/Get_ModuleSettings_and_TabModuleSettings_from_Another_Module</link> 
    <description>
// GET MODULE SETTINGS
var mc = new ModuleController();
var mi = mc.GetModule(1534);
var tSettings = mi.ModuleSettings;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
var sValue = tSettings[&amp;quot;MLSImagesUrl&amp;quot;];

// GET TAB MODULE SETTINGS
var tmc = new ModuleController();
var tmi = tmc.GetTabModule(1534);
var tmSettings = tmi.TabModuleSettings;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
var smValue = tmSettings[&amp;quot;MLSImagesUrl&amp;quot;];
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Wed, 26 Dec 2018 20:15:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:36</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/39/Get_DNN_Users_Role_Expiration_Date#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=39</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=39&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Get DNN Users Role Expiration Date</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/39/Get_DNN_Users_Role_Expiration_Date</link> 
    <description>DotNetNuke.Security.Roles.RoleController rolesController = new DotNetNuke.Security.Roles.RoleController();
UserRoleInfo role = rolesController.GetUserRole(0, this.UserId, rolesController.GetRoleByName(0, &amp;quot;Donor&amp;quot;).RoleID);
DateTime expiryDate = role.ExpiryDate;
lblDebug.Text = expiryDate.ToShortDateString();
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Fri, 11 May 2018 14:59:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:39</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/41/Check_if_Value_Exists_in_a_Dropdown_List#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=41</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=41&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Check if Value Exists in a Dropdown List</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/41/Check_if_Value_Exists_in_a_Dropdown_List</link> 
    <description>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ListItem lisource = ddlDonationSource.Items.FindByValue(item.Source);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (lisource != null)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // value found - select it
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ddlDonationSource.SelectedValue = item.Source;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Value not found - add it and then select it
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ddlDonationSource.Items.Insert(1, new ListItem(item.Source, item.Source));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ddlDonationSource.SelectedValue = item.Source;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Wed, 25 Apr 2018 10:06:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:41</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/45/Add_Stylesheet_from_Code_Behind#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=45</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=45&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Add Stylesheet from Code Behind</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/45/Add_Stylesheet_from_Code_Behind</link> 
    <description>Add a stylesheet from custom DNN module settings

HtmlGenericControl css1 = new HtmlGenericControl(&amp;quot;link&amp;quot;);
css1.Attributes[&amp;quot;type&amp;quot;] = &amp;quot;text/css&amp;quot;;
if (Settings.Contains(&amp;quot;jQueryUI&amp;quot;))
{
&amp;nbsp;css1.Attributes[&amp;quot;href&amp;quot;] = Settings[&amp;quot;jQueryUI&amp;quot;].ToString();
}
else
{
&amp;nbsp;css1.Attributes[&amp;quot;href&amp;quot;] = &amp;quot;https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/redmond/jquery-ui.css&amp;quot;;
}
css1.Attributes[&amp;quot;rel&amp;quot;] = &amp;quot;stylesheet&amp;quot;;
css1.Attributes[&amp;quot;media&amp;quot;] = &amp;quot;screen&amp;quot;;
Page.Header.Controls.Add(css1);
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Sun, 15 Oct 2017 13:04:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:45</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/47/True_False_Eval_Bool_GridView_TemplateField#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=47</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=47&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>True False Eval Bool GridView TemplateField</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/47/True_False_Eval_Bool_GridView_TemplateField</link> 
    <description>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:TemplateField HeaderText=&quot;Bike Raffle*&quot; ItemStyle-HorizontalAlign=&quot;Center&quot; &gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ItemTemplate&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:Image ID=&quot;Image2&quot; runat=&quot;server&quot; ImageUrl=&#39;&lt;%# (Eval(&quot;BikeRaffle&quot;).Equals(true) ? &quot;~/DesktopModules/GIBS/FBClients/Images/yes.png&quot; : &quot;~/DesktopModules/GIBS/FBClients/Images/no.png&quot;)%&gt;&#39; /&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ItemTemplate&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/asp:TemplateField&gt;
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Fri, 29 Sep 2017 09:45:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:47</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/64/Get_State_Code_By_State_Name#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=64</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=64&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Get State Code By State Name</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/64/Get_State_Code_By_State_Name</link> 
    <description> DNN now returns the long state name when using&amp;nbsp;DotNetNuke.Entities.Users.UserInfo . . . Here&#39;s an easy workaround for returning the 2 letter state code.
        public string GetStateByName(string name)
        {
            switch (name.ToUpper())
            {
                case &quot;ALABAMA&quot;:
                    return &quot;AL&quot;;

                case &quot;ALASKA&quot;:
                    return &quot;AK&quot;;

                case &quot;AMERICAN SAMOA&quot;:
                    return &quot;AS&quot;;

                case &quot;ARIZONA&quot;:
                    return &quot;AZ&quot;;

                case &quot;ARKANSAS&quot;:
                    return &quot;AR&quot;;

                case &quot;CALIFORNIA&quot;:
                    return &quot;CA&quot;;

                case &quot;COLORADO&quot;:
                    return &quot;CO&quot;;

                case &quot;CONNECTICUT&quot;:
                    return &quot;CT&quot;;

                case &quot;DELAWARE&quot;:
                    return &quot;DE&quot;;

                case &quot;DISTRICT OF COLUMBIA&quot;:
                    return &quot;DC&quot;;

                case &quot;FEDERATED STATES OF MICRONESIA&quot;:
                    return &quot;FM&quot;;

                case &quot;FLORIDA&quot;:
                    return &quot;FL&quot;;

                case &quot;GEORGIA&quot;:
                    return &quot;GA&quot;;

                case &quot;GUAM&quot;:
                    return &quot;GU&quot;;

                case &quot;HAWAII&quot;:
                    return &quot;HI&quot;;

                case &quot;IDAHO&quot;:
                    return &quot;ID&quot;;

                case &quot;ILLINOIS&quot;:
                    return &quot;IL&quot;;

                case &quot;INDIANA&quot;:
                    return &quot;IN&quot;;

                case &quot;IOWA&quot;:
                    return &quot;IA&quot;;

                case &quot;KANSAS&quot;:
                    return &quot;KS&quot;;

                case &quot;KENTUCKY&quot;:
                    return &quot;KY&quot;;

                case &quot;LOUISIANA&quot;:
                    return &quot;LA&quot;;

                case &quot;MAINE&quot;:
                    return &quot;ME&quot;;

                case &quot;MARSHALL ISLANDS&quot;:
                    return &quot;MH&quot;;

                case &quot;MARYLAND&quot;:
                    return &quot;MD&quot;;

                case &quot;MASSACHUSETTS&quot;:
                    return &quot;MA&quot;;

                case &quot;MICHIGAN&quot;:
                    return &quot;MI&quot;;

                case &quot;MINNESOTA&quot;:
                    return &quot;MN&quot;;

                case &quot;MISSISSIPPI&quot;:
                    return &quot;MS&quot;;

                case &quot;MISSOURI&quot;:
                    return &quot;MO&quot;;

                case &quot;MONTANA&quot;:
                    return &quot;MT&quot;;

                case &quot;NEBRASKA&quot;:
                    return &quot;NE&quot;;

                case &quot;NEVADA&quot;:
                    return &quot;NV&quot;;

                case &quot;NEW HAMPSHIRE&quot;:
                    return &quot;NH&quot;;

                case &quot;NEW JERSEY&quot;:
                    return &quot;NJ&quot;;

                case &quot;NEW MEXICO&quot;:
                    return &quot;NM&quot;;

                case &quot;NEW YORK&quot;:
                    return &quot;NY&quot;;

                case &quot;NORTH CAROLINA&quot;:
                    return &quot;NC&quot;;

                case &quot;NORTH DAKOTA&quot;:
                    return &quot;ND&quot;;

                case &quot;NORTHERN MARIANA ISLANDS&quot;:
                    return &quot;MP&quot;;

                case &quot;OHIO&quot;:
                    return &quot;OH&quot;;

                case &quot;OKLAHOMA&quot;:
                    return &quot;OK&quot;;

                case &quot;OREGON&quot;:
                    return &quot;OR&quot;;

                case &quot;PALAU&quot;:
                    return &quot;PW&quot;;

                case &quot;PENNSYLVANIA&quot;:
                    return &quot;PA&quot;;

                case &quot;PUERTO RICO&quot;:
                    return &quot;PR&quot;;

                case &quot;RHODE ISLAND&quot;:
                    return &quot;RI&quot;;

                case &quot;SOUTH CAROLINA&quot;:
                    return &quot;SC&quot;;

                case &quot;SOUTH DAKOTA&quot;:
                    return &quot;SD&quot;;

                case &quot;TENNESSEE&quot;:
                    return &quot;TN&quot;;

                case &quot;TEXAS&quot;:
                    return &quot;TX&quot;;

                case &quot;UTAH&quot;:
                    return &quot;UT&quot;;

                case &quot;VERMONT&quot;:
                    return &quot;VT&quot;;

                case &quot;VIRGIN ISLANDS&quot;:
                    return &quot;VI&quot;;

                case &quot;VIRGINIA&quot;:
                    return &quot;VA&quot;;

                case &quot;WASHINGTON&quot;:
                    return &quot;WA&quot;;

                case &quot;WEST VIRGINIA&quot;:
                    return &quot;WV&quot;;

                case &quot;WISCONSIN&quot;:
                    return &quot;WI&quot;;

                case &quot;WYOMING&quot;:
                    return &quot;WY&quot;;
            }

            throw new Exception(&quot;Unavailable&quot;);
        }</description> 
    <dc:creator></dc:creator> 
    <pubDate>Wed, 04 May 2016 11:17:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:64</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/70/Call_a_Function_from_a_GridView#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=70</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=70&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Call a Function from a GridView</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/70/Call_a_Function_from_a_GridView</link> 
    <description> &lt;asp:TemplateField HeaderText="Frequency"&gt;
 &lt;ItemTemplate&gt;
 &lt;asp:Label ID="lblFrequency" runat="server" Text='&lt;%# GetFrequencyLookup(DataBinder.Eval(Container.DataItem, "Frequency").ToString()) %&gt;'&gt;&lt;/asp:Label&gt;
 &lt;/ItemTemplate&gt;
 &lt;/asp:TemplateField&gt;</description> 
    <dc:creator></dc:creator> 
    <pubDate>Mon, 25 Jan 2016 13:43:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:70</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/71/Ventrian_Gallery_Latest_Template#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=71</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=71&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Ventrian Gallery Latest Template</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/71/Ventrian_Gallery_Latest_Template</link> 
    <description>Link to photo slideshow:
&nbsp;&lt;div style="margin: auto;width: 100%;text-align: center;"&gt;[PHOTOWITHBORDER]&lt;/div&gt;
&lt;div style="text-align: center; padding-bottom: 15px;"&gt;&lt;a href="/Photo-Gallery/More-Fishing-Photos/galleryType/SlideShow/ItemID/[PHOTOID]"&gt;Ventrian Gallery Latest Template&lt;/a&gt;&lt;/div&gt;
[PHOTOWITHBORDER]

Ventrian Gallery Latest Template
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Sat, 23 Jan 2016 11:09:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:71</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/78/Pivot_Query_for_Ventrian_Property_Agent#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=78</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=78&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Pivot Query for Ventrian Property Agent</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/78/Pivot_Query_for_Ventrian_Property_Agent</link> 
    <description>I had a need for getting a property details for a SSR report and came up with the following store procedure&amp;nbsp; . . . I thought it might be useful to someone.
/****** Object: StoredProcedure [dbo].[GIBS_Rentals_Get_PropertyDetails] Script Date: 12/15/2014 06:52:03 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
&amp;nbsp;
CREATE PROCEDURE [dbo].[GIBS_Rentals_Get_PropertyDetails] 
( 
 @PropertyID int
)
AS
BEGIN
SET NOCOUNT ON;
DECLARE @cols AS VARCHAR(MAX),
 @query AS VARCHAR(MAX),
 @PropertyIDVarchar AS VARCHAR(10)
Set @PropertyIDVarchar = Convert(VARCHAR(10),@PropertyID)
select @cols = STUFF((SELECT distinct &#39;,&#39; + QUOTENAME(name) 
FROM Ventrian_PropertyAgent_CustomField 
FOR XML PATH(&#39;&#39;), TYPE
).value(&#39;.&#39;, &#39;VARCHAR(MAX)&#39;) 
,1,1,&#39;&#39;)
--print @cols
set @query 
= &#39;SELECT PropertyID,&#39; + @cols + &#39; from 
(
SELECT
PropertyID ,
&amp;nbsp;
cast(Ventrian_PropertyAgent_PropertyValue.CustomValue as Varchar(50)) AS CustomValue,
Ventrian_PropertyAgent_CustomField.Name AS [Name]
&amp;nbsp;
FROM Ventrian_PropertyAgent_PropertyValue
INNER JOIN
Ventrian_PropertyAgent_CustomField ON Ventrian_PropertyAgent_PropertyValue.CustomFieldID = Ventrian_PropertyAgent_CustomField.CustomFieldID
&amp;nbsp;
WHERE Ventrian_PropertyAgent_PropertyValue.PropertyID = &#39; + @PropertyIDVarchar + &#39;
) x
pivot
(
min(CustomValue)
 for Name in (&#39; + @cols + &#39;)
) p &#39;
--print @query
execute(@query)
END</description> 
    <dc:creator></dc:creator> 
    <pubDate>Mon, 15 Dec 2014 13:22:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:78</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/80/Log_to_DNN_Event_Viewer#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=80</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=80&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Log to DNN Event Viewer</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/80/Log_to_DNN_Event_Viewer</link> 
    <description>DotNetNuke.Services.Log.EventLog.EventLogController objEventLog = new DotNetNuke.Services.Log.EventLog.EventLogController();
                objEventLog.AddLog(&quot;Sample Message&quot;, &quot;Something Interesting Happened!&quot;, PortalSettings, -1, DotNetNuke.Services.Log.EventLog.EventLogController.EventLogType.ADMIN_ALERT);
// ALTERNATIVE METHOD
EventLogController eventLog = new EventLogController();
DotNetNuke.Services.Log.EventLog.LogInfo logInfo = new LogInfo();
logInfo.LogUserID = UserId;
logInfo.LogPortalID = PortalSettings.PortalId;
logInfo.LogTypeKey = EventLogController.EventLogType.ADMIN_ALERT.ToString();
logInfo.AddProperty(&quot;Status: &quot;, _Status.ToString());
logInfo.AddProperty(&quot;KeyWordLike: &quot;, &quot;An Example&quot;);
eventLog.AddLog(logInfo);
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Wed, 26 Nov 2014 12:57:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:80</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/85/jQuery_Modal_in_DNN#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=85</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=85&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>jQuery Modal in DNN</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/85/jQuery_Modal_in_DNN</link> 
    <description>    function OpenDialog(url, height, width, title) {

        var vurl = url;
        var vheight = height;
        var vwidth = width;
        var vtitle = title;

        var strAddOn = '&amp;SkinSrc=[G]';
        strAddOn += '&lt;%= DotNetNuke.Common.Globals.QueryStringEncode(DotNetNuke.UI.Skins.SkinController.RootSkin + "/" + DotNetNuke.Common.Globals.glbHostSkinFolder + "/" + "popUpSkin") %&gt;';

        strAddOn += '&amp;ContainerSrc=';
        strAddOn += '&lt;% = DotNetNuke.Common.Globals.QueryStringEncode("/portals/_default/containers/_default/no%20container") %&gt;';

        vurl += strAddOn.toString();
        alert(vurl);
        var dialog = $('').appendTo('body');
        dialog.dialog({ title: vtitle, modal: true, open: function (type, data) { $(this).parent().appendTo("form"); },
            buttons: [{ text: "Exit", click: function () {
                //     var valInput = $("#iDialog").contents().find("#txtRequesterNotes");
                // stuff it into a hidden field on the parent if you want
                //      $("input]name='hModalReturnValue'[", parent.document.body).val(valInput.val());
                $(this).dialog("close");
                //or just return it.
                //     processDialogResult('refresh,' + valInput.val());
            }
            }]
                , height: vheight
                , width: vwidth
        });

    }

</description> 
    <dc:creator></dc:creator> 
    <pubDate>Tue, 30 Sep 2014 13:38:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:85</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/86/Get_DNN_User_Profile_Property_Value#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=86</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=86&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Get DNN User Profile Property Value</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/86/Get_DNN_User_Profile_Property_Value</link> 
    <description>using DotNetNuke.Entities.Profile;
string _value = GetUserProfilePropertyValue(&quot;MyCustomProfileField&quot;).ToString();
        public string GetUserProfilePropertyValue(string propertyName)
        {
            string value = null;
            ProfilePropertyDefinition ppd = UserInfo.Profile.GetProperty(propertyName);

            if (ppd == null)
            {
                value = &quot;&quot;;
            }
            else
            {
                value = ppd.PropertyValue;
                if (value == null)
                {
                    if (string.IsNullOrEmpty(ppd.DefaultValue))
                    {
                        value = string.Empty;
                    }
                    else
                    {
                        value = ppd.DefaultValue;
                    }
                }
            }
            return value;
        }
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Sat, 27 Sep 2014 11:10:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:86</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/87/Set_Custom_Page_Name_in_DNN#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=87</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=87&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Set Custom Page Name in DNN</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/87/Set_Custom_Page_Name_in_DNN</link> 
    <description>        public void SetPageName(string PageName)
        {
            try
            {
                DotNetNuke.Framework.CDefault CustomPageName = (DotNetNuke.Framework.CDefault)this.Page;
                CustomPageName.Title = PageName.ToString();
            }
            catch (Exception ex)
            {
                Exceptions.ProcessModuleLoadException(this, ex);
            }
        }
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Tue, 23 Sep 2014 09:34:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:87</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/90/DNN_GetUsersByRoleName_for_a_Dropdown#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=90</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=90&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DNN GetUsersByRoleName for a Dropdown</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/90/DNN_GetUsersByRoleName_for_a_Dropdown</link> 
    <description>public void GetPreviousAgents(string _AgentRole)
{
	try
	{

		DotNetNuke.Security.Roles.RoleController objRoleController = new DotNetNuke.Security.Roles.RoleController();
		ArrayList objUserList = objRoleController.GetUsersByRoleName(DotNetNuke.Entities.Portals.PortalSettings.Current.PortalId, _AgentRole.ToString());
		int i = 0;

		foreach (DotNetNuke.Entities.Users.UserInfo objUserInfo in objUserList)
		{
			ddlPreviousAgent.Items.Insert(i, new ListItem(objUserInfo.DisplayName.ToString(),objUserInfo.Email.ToString()));
		}


	}
	catch (Exception ex)
	{
		Exceptions.ProcessModuleLoadException(this, ex);
	}
}	
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Sun, 06 Jul 2014 11:56:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:90</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/93/DNN_Registration_of_jQuery_and_Plugins_in_DotNetNuke#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=93</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=93&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DNN Registration of jQuery and Plugins in DotNetNuke</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/93/DNN_Registration_of_jQuery_and_Plugins_in_DotNetNuke</link> 
    <description>protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
           
            JavaScript.RequestRegistration(CommonJs.jQuery);
            JavaScript.RequestRegistration(CommonJs.jQueryUI);
            JavaScript.RequestRegistration(CommonJs.DnnPlugins);
        }
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Tue, 24 Jun 2014 12:53:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:93</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/98/DNN_Check_for_Authentication_and_Redirect_to_Login_Page#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=98</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=98&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DNN Check for Authentication and Redirect to Login Page</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/98/DNN_Check_for_Authentication_and_Redirect_to_Login_Page</link> 
    <description>Note that you must define a login page in the Admin/Site Settings module.

if (!IsPostBack)
{
	if (UserId == -1)
	{
		Response.Redirect(Globals.NavigateURL(this.PortalSettings.LoginTabId));
	}
	GetNewSearchURL();
	LoadGrid();
	lblDailyEmails.Text = Localization.GetString(&quot;lblDailyEmails&quot;, this.LocalResourceFile);
	SetLinks();
}
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Thu, 17 Apr 2014 10:44:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:98</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/103/Send_a_password_reminder_email_from_a_custom_module#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=103</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=103&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Send a password reminder email from a custom module</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/103/Send_a_password_reminder_email_from_a_custom_module</link> 
    <description>UserInfo u = new UserInfo();
u = UserController.GetUserById(PortalId, DnnUserId);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
u.Membership.Password = UserController.GetPassword(ref u, &quot;&quot;);

DotNetNuke.Services.Mail.Mail.SendMail(u, DotNetNuke.Services.Mail.MessageType.PasswordReminder, PortalSettings);</description> 
    <dc:creator></dc:creator> 
    <pubDate>Mon, 16 Dec 2013 13:18:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:103</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/106/Deleting_All_DNN_Users_from_a_Custom_DNN_Module#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=106</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=106&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Deleting All DNN Users from a Custom DNN Module</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/106/Deleting_All_DNN_Users_from_a_Custom_DNN_Module</link> 
    <description>&lt;asp:Button ID="Button1" runat="server" Text="Delete All Users" onclick="Button1_Click" /&gt;
using DotNetNuke.Entities.Users;
 protected void Button1_Click(object sender, EventArgs e)
{
&nbsp;&nbsp;&nbsp;&nbsp; UserController.DeleteUsers(this.PortalId, false, false);
}</description> 
    <dc:creator></dc:creator> 
    <pubDate>Sun, 08 Sep 2013 14:25:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:106</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/110/iDataReader_loop_to_bind_custom_values_to_a_CheckBoxList#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=110</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=110&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>iDataReader loop to bind custom values to a CheckBoxList</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/110/iDataReader_loop_to_bind_custom_values_to_a_CheckBoxList</link> 
    <description>Bind values from a custom table to a CheckBoxList bound from a DNN list
public void UpdateTrueFalseQuestions()
        {

            try
            {
                FBClientsController controller = new FBClientsController();
                FBClientsInfo item = new FBClientsInfo();

                for (int i = 0; i &lt; cblClientTrueFalseQuestions.Items.Count; i++)
                {
                        item.TfQuestion = cblClientTrueFalseQuestions.Items[i].Value.ToString();
                        item.TfAnswer = cblClientTrueFalseQuestions.Items[i].Selected;
                        item.ClientID = Int32.Parse(hidClientID.Value.ToString());
                        item.CreatedByUserID = this.UserId;
                        controller.FBClientsTrueFalseQuestions_InsertUpdate(item);
                }

                lblMessage.Text = Localization.GetString("ClientUpdateSuccessful", this.LocalResourceFile);
                lblMessage.Visible = true;

            }
            catch (Exception ex)
            {
                Exceptions.ProcessModuleLoadException(this, ex);
            }

        }
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Sun, 17 Feb 2013 15:20:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:110</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/113/Return_SCOPE_IDENTITY_from_a_stored_procedure_to_your_custom_DNN_module#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=113</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=113&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Return SCOPE IDENTITY from a stored procedure to your custom DNN module</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/113/Return_SCOPE_IDENTITY_from_a_stored_procedure_to_your_custom_DNN_module</link> 
    <description>Your SQL stored procedure:
INSERT INTO Invoices
(InvoiceNumber, InvoiceDate, SupplierID, ModuleID, CreatedOnDate, CreatedByUserID, PortalID)
VALUES 
(@InvoiceNumber, @InvoiceDate, @SupplierID, @ModuleId, GETDATE(), @CreatedByUserID, @PortalID)
SELECT SCOPE_IDENTITY()
Next, all the methods in your abstract data provider class and concrete data provider class should be written as functions that return an integer which is the SCOPE IDENTITY that the stored procedure returns.
//SQLDataProvider
public override int FBInvoice_Insert(string invoiceNumber, DateTime invoiceDate, int supplierID, int createdByUserID, int moduleId, int portalId)
&amp;nbsp;{
return Convert.ToInt32(SqlHelper.ExecuteScalar(connectionString, GetFullyQualifiedName(&quot;FBInvoice_Insert&quot;), invoiceNumber, invoiceDate, supplierID, createdByUserID, moduleId, portalId));
&amp;nbsp;}
// DataProvider.cs
public abstract int FBInvoice_Insert(string invoiceNumber, DateTime invoiceDate, int supplierID, int createdByUserID, int moduleId, int portalId);
// Controller.cs
public int FBInvoice_Insert(FBFoodInventoryInfo info)
{
&amp;nbsp;if (info.InvoiceNumber != string.Empty)
&amp;nbsp;{
&amp;nbsp;&amp;nbsp;return Convert.ToInt32(DataProvider.Instance().FBInvoice_Insert(info.InvoiceNumber, info.InvoiceDate, info.SupplierID, info.CreatedByUserID, info.ModuleId, info.PortalId));
&amp;nbsp;}
&amp;nbsp;else
&amp;nbsp;{
&amp;nbsp;&amp;nbsp;return 0;
&amp;nbsp;}
}
//&amp;nbsp;Get the ID&amp;nbsp;of the newly inserted record
int MyNewID = Null.NullInteger;
MyNewID = controller.FBInvoice_Insert(item);</description> 
    <dc:creator></dc:creator> 
    <pubDate>Mon, 21 Jan 2013 13:06:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:113</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/121/Adding_a_Header_Tag_to_a_Custom_DNN_Module#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=121</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=121&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Adding a Header Tag to a Custom DNN Module</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/121/Adding_a_Header_Tag_to_a_Custom_DNN_Module</link> 
    <description>string htmlHeaderTags = null;
LiteralControl htmlHeaderCtrl = new LiteralControl();
htmlHeaderTags = "&lt;base target=\"_self\"&gt;";
htmlHeaderCtrl.Text = htmlHeaderTags.ToString();
Page.Header.Controls.Add(htmlHeaderCtrl);</description> 
    <dc:creator></dc:creator> 
    <pubDate>Wed, 14 Mar 2012 19:21:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:121</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/122/Convert_Money_to_Double#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=122</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=122&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Convert Money to Double</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/122/Convert_Money_to_Double</link> 
    <description>Converting a textbox money field value ($1,250.00) to a double value . . . 
double MyDoubleValue = double.Parse(txtMoneyAmount.Text, NumberStyles.Currency);</description> 
    <dc:creator></dc:creator> 
    <pubDate>Mon, 06 Feb 2012 15:15:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:122</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/123/DNN_Token_Replacement#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=123</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=123&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DNN Token Replacement</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/123/DNN_Token_Replacement</link> 
    <description>DNN Token Replacement Engine&amp;nbsp;usage.
Token Replacement Example</description> 
    <dc:creator></dc:creator> 
    <pubDate>Thu, 02 Feb 2012 10:36:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:123</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/126/DNN_E-Mail_Address_Lookup#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=126</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=126&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DNN E-Mail Address Lookup</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/126/DNN_E-Mail_Address_Lookup</link> 
    <description>Check to verify if an e-mail address has been previously registered:
public bool LookupEmail(string EmailAddress)
{
&amp;nbsp;try
&amp;nbsp;{
&amp;nbsp;&amp;nbsp;int intRecords = 0;
&amp;nbsp;&amp;nbsp;ArrayList u = new ArrayList();
&amp;nbsp;&amp;nbsp;u = UserController.GetUsersByEmail(this.PortalId, EmailAddress, 0, 1, ref intRecords);
&amp;nbsp;&amp;nbsp;if (u.Count &amp;gt; 0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;return true;
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;return false;
&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp; 
&amp;nbsp;}
&amp;nbsp;catch (Exception ex)
&amp;nbsp;{
&amp;nbsp;&amp;nbsp;Exceptions.ProcessModuleLoadException(this, ex);
&amp;nbsp;&amp;nbsp;return false;
&amp;nbsp;}
}</description> 
    <dc:creator></dc:creator> 
    <pubDate>Thu, 19 Jan 2012 10:50:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:126</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/128/Standard_DotNetNuke_CSS_Classes#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=128</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=128&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>Standard DotNetNuke CSS Classes </title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/128/Standard_DotNetNuke_CSS_Classes</link> 
    <description>Standard CSS classes used by DotNetNuke:

    
        
            Class
            Usage
        
        
            CommandButton
            Just about every Link Button in DotNetNuke uses this. Link Buttons look like hyper links, but behave like form submit buttons.
        
        
            Head
            Container Title, Section Heading (expand/collapsible sections)
        
        
            LoginContainer
            Login page
        
        
            LoginTab
            Login page
        
        
            LoginTabHover
            Login page
        
        
            LoginTabSelected
            Login page
        
        
            LoginPanel
            Login page
        
        
            Normal
            Anywhere text should display in a default font.
        
        
            normal
            Yeah, someone goofed and they are in with and without a leading capital letter.
        
        
            NormalTextBox
            Just about any text box
        
        
            NormalRed
            red text / error messages
        
        
            CommandButtonButton
            Buttons
        
        
            LabelEditOverClass
            Mouse over for Edit in Place of Container Title
        
        
            SubHead
            used on many of the label controls that are prompts for information.
        
        
            subsubhead
            TimeZoneEditor
        
        
            FileManager_Header
            In the file manager.
        
        
            FileManagerTreeNodeSelected
            
        
        
            FileManagerTreeNode
            
        
        
            FileManager_Item
            
        
        
            FileManager_AltItem
            
        
        
            FileManager_SelItem
            
        
        
            FileManagerTreeNode
            
        
        
            WorkPanel
            File manager file upload, Site Settings, Recycle Bin
        
        
            NormalBold
            File Manager
        
        
            DataGrid_Container
            Data grids
        
        
            DataGrid_Footer
            Data grids
        
        
            DataGrid_Pager
            Data Grids
        
        
            WizardText
            Installation Screen, Site Wizard
        
        
            WorkPanel
            Uninstall Screen, Edit Roles, Security Roles
        
        
            Wizard
            Site Wizard, Edit Profile Definitions, Install Wizard
        
        
            WizardButton
            Install Wizard
        
        
            WizardButtonDisabled
            Install Wizard
        
        
            SkinObject
            Copyright, CurrentDate, Help, HostName, Login, Privacy, Search, Terms, User
        
        
            Help
            Edit Profile Definitions, Membership, Profile
        
        
            SuggestTextMenu
            Banner Options
        
        
            GroupSuggestMenu
            Banner Options
        
        
            SuggestNodeOver
            Banner Options
        
        
            StandardButton
            Push Buttons
        
    

Of the CSS classes above, the ones you will need to pay the most attention to are:

    CommandButton 
    Normal 
    normal 
    NormalTextBox 
    NormalRed 
    NormalBold 
    Head 
    SubHead 
    DataGrid_Container 
    DataGrid_Footer 
    DataGrid_Pager 
    SkinObject 
</description> 
    <dc:creator></dc:creator> 
    <pubDate>Wed, 11 Jan 2012 13:15:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:128</guid> 
    
</item>
<item>
    <comments>https://gibs.com/Support/Knowledge-Base/ID/138/DNN_Resources_Keys#Comments</comments> 
    <slash:comments>0</slash:comments> 
    <wfw:commentRss>https://gibs.com/DesktopModules/DnnForge%20-%20NewsArticles/RssComments.aspx?TabID=51&amp;ModuleID=411&amp;ArticleID=138</wfw:commentRss> 
    <trackback:ping>https://gibs.com:443/DesktopModules/DnnForge%20-%20NewsArticles/Tracking/Trackback.aspx?ArticleID=138&amp;PortalID=0&amp;TabID=51</trackback:ping> 
    <title>DNN Resources Keys</title> 
    <link>https://gibs.com/Support/Knowledge-Base/ID/138/DNN_Resources_Keys</link> 
    <description>In DotnetNuke Localization support, every resource key (in APP_LocalResources or APP_GlobalResources) should end with an extension. 

resourceName.Text &ndash; Represents a string used for a common purpose
resourceName.Help &ndash; Used mostly in conjuncture with the DNN:Label control, which supplies a help icon () and tooltip.
resourceName.Tooltip &ndash; Used for a control&rsquo;s Tooltip property.
resourceName.Action &ndash; Used to represent the Title property of a ModuleAction item shown in an actions menu.
resourceName.Confirm &ndash; Text that is displayed in a JavaScript&rsquo;s confirmation dialog (such as a dialog to confirm deleting a module).
resourceName.Error &ndash; Text that is displayed as an error message. This might be for a label or, more commonly, for one of the ASP.NET validation controls.
resourceName.Detail &ndash; Text that gives more detail about an error message.

If we add a resource key in a resx file of the APP_LocalResources or APP_GlobalResources and didn&rsquo;t give it an extension (like one of the above or any other one), we cannot get its value back by the DNN Localization logic of the: 
DotNetNuke.Services.Localization.Localization.GetString(key, this.LocalResourceFile);
Or:
DotNetNuke.Services.Localization.Localization.GetString(key, &lt;global resource file name&gt;);
Further, if we call the Localization.GetString function with a key without an extension, it will assume that we are asking about the one with the extension ".Text". 
So the call of Localization.GetString("SomeKey", LocalResourceFile) is equivalent to 
Localization.GetString("SomeKey.Text", LocalResourceFile)!</description> 
    <dc:creator></dc:creator> 
    <pubDate>Wed, 31 Aug 2011 13:43:00 GMT</pubDate> 
    <guid isPermaLink="false">f1397696-738c-4295-afcd-943feb885714:138</guid> 
    
</item>

    </channel>
</rss>